package dao.reader;

import entity.Books;
import entity.Borrow_books;

import java.util.List;

/**
 * ss
 *
 * @author ChenYanMei
 * @version 2023/9/4
 */
public interface IllegalInfoDao {
    /**
     * 查询书籍信息
     * @param condition
     * @param conditionValue
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<Borrow_books> getList(String condition, String conditionValue, int pageIndex, int pageSize);

    /**
     * 查询总数
     * @return
     */
    int pageCount(String condition, String conditionValue);
}
